<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<html>
	<head>
		<meta charset="UTF-8">
		<jsp:include page="wireframe.jsp"/>
		
		
	</head>
	<body>
	    <jsp:include page="navbar.jsp"/>
        
        <!--Empieza Formulario-->
        <div class="container" style="margin-top:100px;">
            <div class="row">
                <div class="col-xs-3"></div>
                <div class="col-xs-6">
                    <div class="panel panel-default" align="center">
                        <div class="panel-heading">
                            <h3 class="panel-title">Update Your Profile<small>
                        </div>
                        <div class="panel-body">
                            <form role="form" action="pupdateprofile" onsubmit="return checkForm(this);" method="post">
                                <div class="form-group">
                                    


                                
                                <div class="form-group">
                                     <input type="text" id="firstname" name="firstname" minlength=1 maxlength=30 class="form-control input-sm" placeholder="First Name" required>
                                </div>

                                <div class="form-group">
                                     <input type="text" id="lastname" name="lastname" minlength=1 maxlength=30 class="form-control input-sm" placeholder="Last Name" required>
                                </div>



                                <div class="form-group">
                                     <input type="text" id="nif" name="nif" pattern="[0-9]{2}.[0-9]{3}.[0-9]{3}-[A-Z]{1}" class="form-control input-sm" placeholder="NIF (xx.xxx.xxx-P)" required>
                                </div>

                                <div class="form-group">
                                     <input type="email" id="email" name="email" minlength=3 maxlength=200 required class="form-control input-sm" placeholder="Email">
                                </div>

                                <div class="form-group">
                                     <input type="text" id="phone" name="phone" pattern="[0-9]{9,20}" class="form-control input-sm" placeholder="Phone" required> 
                                </div>

                                

                                
                                
                                    
                                    
                                </div>
                                <span id="confirmMessage" class="confirmMessage"></span></br><br>
                                <!-- <div class="controls">-->
                                <button type="submit" class="btn btn-success">Submit</button>
                                <!--</div> -->
                 
                            </form>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3"></div>
            </div>
        </div>
        <!--Termina Formulario-->
	</body>
</html>